// -----------------------------------------------------------------------------
// Generate By Furion Tools v1.6.0                            
// -----------------------------------------------------------------------------

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;

#nullable disable

namespace iemtm.WeChat.Core
{
    public partial class SubDev601 : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<SubDev601, MasterDbContextLocator>
    {

        public long Id { get; set; }
        public string SubDevId { get; set; }
        public string SubDevName { get; set; }
        public string Status { get; set; }
        public bool? IsBind { get; set; }
        public string Type { get; set; }
        public string HighStanValue { get; set; }
        public string HighWarnValue { get; set; }
        public string HighAlarmValue { get; set; }
        public string RollStanValue { get; set; }
        public string RollWarnValue { get; set; }
        public string RollAlarmValue { get; set; }
    
        public void Configure(EntityTypeBuilder<SubDev601> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
                entityBuilder.Property(e => e.HighAlarmValue)
                    .HasMaxLength(50)
                    .IsUnicode(false);

                entityBuilder.Property(e => e.HighStanValue)
                    .HasMaxLength(50)
                    .IsUnicode(false);

                entityBuilder.Property(e => e.HighWarnValue)
                    .HasMaxLength(50)
                    .IsUnicode(false);

                entityBuilder.Property(e => e.RollAlarmValue)
                    .HasMaxLength(50)
                    .IsUnicode(false);

                entityBuilder.Property(e => e.RollStanValue)
                    .HasMaxLength(50)
                    .IsUnicode(false);

                entityBuilder.Property(e => e.RollWarnValue)
                    .HasMaxLength(50)
                    .IsUnicode(false);

                entityBuilder.Property(e => e.Status)
                    .HasMaxLength(50)
                    .IsUnicode(false);

                entityBuilder.Property(e => e.SubDevId)
                    .HasMaxLength(100)
                    .IsUnicode(false);

                entityBuilder.Property(e => e.SubDevName)
                    .HasMaxLength(200)
                    .IsUnicode(false);

                entityBuilder.Property(e => e.Type)
                    .HasMaxLength(50)
                    .IsUnicode(false);
        }

    }
}

